package org.lanqiao.bean;

import java.util.Date;
/**
 *Access类的子类 
 */
public class AccessPro /*【1】*/extends   Access{
	private int accessProId;
	private String accessProUrl;
	private String accessProUrlName;
	
	public int getAccessProId() {
		return accessProId;
	}
	public void setAccessProId(int accessProId) {
		this.accessProId = accessProId;
	}
	public String getAccessProUrl() {
		return accessProUrl;
	}
	public void setAccessProUrl(String accessProUrl) {
		this.accessProUrl = accessProUrl;
	}
	public String getAccessProUrlName() {
		return accessProUrlName;
	}
	public void setAccessProUrlName(String accessProUrlName) {
		this.accessProUrlName = accessProUrlName;
	}
	
	public AccessPro(int accessProId, String accessProUrl, String accessProUrlName) {
		super();
		this.accessProId = accessProId;
		this.accessProUrl = accessProUrl;
		this.accessProUrlName = accessProUrlName;
	}
	
	public AccessPro(String accessId, String accessUrl, Date accessDate, int accessFlow, String accessIp,
			int accessProId, String accessProUrl, String accessProUrlName) {
		//调用父类的构造方法
		/*【2】*/super(accessId, accessUrl, accessDate, accessFlow, accessIp);
		this.accessProId = accessProId;
		this.accessProUrl = accessProUrl;
		this.accessProUrlName = accessProUrlName;
	}
	
	public AccessPro() {
		super();
	}
	@Override
	public String toString() {
		return "AccessPro [accessProId=" + accessProId + ", accessProUrl=" + accessProUrl + ", accessProUrlName="
				+ accessProUrlName + "]";
	}
}